<?php

use Illuminate\Database\Seeder;

class ConfigSysTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('config_sys')->insert([

            [
                'type' => 'app',
                'key' => 'name',
                'val' => '指兴云链',
                'note' => 'app名字',
                'name' => 'app名字',
                'state' => 'normal',
            ],
            [
                'type' => 'article',
                'key' => 'technology',
                'val' => '技术专题',
                'note' => '技术专题',
                'name' => '技术专题',
                'state' => 'freeze',
            ],
            [
                'type' => 'article',
                'key' => 'celebrity',
                'val' => '名人专题',
                'note' => '名人专题',
                'name' => '名人专题',
                'state' => 'freeze',
            ],
            [
                'type' => 'article',
                'key' => 'coterie',
                'val' => '圈内趣闻',
                'note' => '圈内趣闻',
                'name' => '圈内趣闻',
                'state' => 'freeze',
            ],
            [
                'type' => 'article',
                'key' => 'advertising',
                'val' => '图文广告',
                'note' => '图文广告',
                 'name' => '图文广告',
                'state' => 'normal',
            ],
            [
                'type' => 'article',
                'key' => 'push',
                'val' => '公告推送',
                'note' => '公告推送',
                'name' => '公告推送',
                'state' => 'freeze',
            ],
            [
                'type' => 'min',
                'key' => 'withdraw',
                'val' => '0.1',
                'note' => '提现最小值',
                'name' => '提现最小值',
                'state' => 'normal',
            ],
            [
                'type' => 'min',
                'key' => 'transfer',
                'val' => '0.1',
                'note' => '划转最小值',
                'name' => '划转最小值',
                'state' => 'normal',
            ],
            [
                'type' => 'mining',
                'key' => 'start_interval',
                'val' => '2',
                'note' => '开挖间隔（天）',
                'name' => '开挖间隔（天）',
                'state' => 'normal',
            ],
            [
                'type' => 'mining',
                'key' => 'mining_switch',
                'val' => 'start',
                'note' => '全服收益开关 start 正常,shutdown 关闭',
                'name' => '全服收益开关',
                'state' => 'normal',
            ],
            [
                'type' => 'qiniu',
                'key' => 'qiniu_upload_address',
                'val' => 'http://up.qiniup.com',
                'note' => '七牛上传地址',
                'name' => '七牛上传地址',
                'state' => 'normal',
            ],
            [
                'type' => 'qiniu',
                'key' => 'qiniu_view_address',
                'val' => 'https://cdn.dianduidian.tech',
                'note' => '七牛查看地址',
                'name' => '七牛查看地址',
                'state' => 'normal',
            ],
        ]);
    }
}
